home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Demos / DE_MesaAR1 / Examples / API / MesaError.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-17  |  1.6 KB  |  29 lines

  1. /**************************************************************************
  2.  *                                                                        *
  3.  *                                                                        *
  4.  *          This code is copyright (c) 1991                               *
  5.  *                     Athena Design, Inc.                                *
  6.  *                     and David Pollak                                   *
  7.  *                                                                        *
  8.  *                ALL RIGHTS RESERVED                                     *
  9.  *                                                                        *
  10.  *                                                                        *
  11.  *                                                                        *
  12.  *                                                                        *
  13.  *                                                                        *
  14.  **************************************************************************/
  15.  
  16. //    this handles the error messages for Mesa
  17. //    11/25/91 dpp
  18.  
  19. typedef enum {noError = 0,badInputError,badFormulaError,
  20.     stackUnderflowError,labelNotFoundError,circularError,divideByZeroError,
  21.     mathError, naError, rangeError, badAddressError, errorError, inherit1Error,
  22.     inherit2Error, macroCommandEndError, inputIntoProtCellError, paramFuncError,
  23.     branchNoFoundError, escError, unimplMenuError, multiEscError, refOverflowError,
  24.     irrError, noAddInFuncError, linkError
  25.     ,lastError} ErrorType;
  26.  
  27. char *errorString(int);
  28. char *longErrorString(int);
  29.